Tables [dbo].[ContactOffering]
Properties
PropertyValue
Row Count0
Created10:31:17 AM Tuesday, March 02, 2010
Last Modified11:40:01 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_ContactOffering: ContactKey\ContactOfferingKeyForeign Keys FK_ContactOffering_ContactBio: [dbo].[ContactBiography].ContactKeyContactKeyuniqueidentifier16
No
Cluster Primary Key PK_ContactOffering: ContactKey\ContactOfferingKeyForeign Keys FK_ContactOffering_ContactOfferringRef: [dbo].[ContactOfferingRef].ContactOfferingKeyContactOfferingKeyuniqueidentifier16
No
MarkedForDeleteOndatetime8
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_ContactOffering: ContactKey\ContactOfferingKeyPK_ContactOfferingContactKey, ContactOfferingKey
Yes
Foreign Keys Foreign Keys
NameColumns
FK_ContactOffering_ContactBioContactKey->[dbo].[ContactBiography].[ContactKey]
FK_ContactOffering_ContactOfferringRefContactOfferingKey->[dbo].[ContactOfferingRef].[ContactOfferingKey]
SQL Script
CREATE TABLE [dbo].[ContactOffering]
(
[ContactKey] [uniqueidentifier] NOT NULL,
[ContactOfferingKey] [uniqueidentifier] NOT NULL,
[MarkedForDeleteOn] [datetime] NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ContactOffering] ADD CONSTRAINT [PK_ContactOffering] PRIMARY KEY CLUSTERED ([ContactKey], [ContactOfferingKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ContactOffering] ADD CONSTRAINT [FK_ContactOffering_ContactBio] FOREIGN KEY ([ContactKey]) REFERENCES [dbo].[ContactBiography] ([ContactKey])
GO
ALTER TABLE [dbo].[ContactOffering] ADD CONSTRAINT [FK_ContactOffering_ContactOfferringRef] FOREIGN KEY ([ContactOfferingKey]) REFERENCES [dbo].[ContactOfferingRef] ([ContactOfferingKey])
GO
Uses